﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CRMSimple.LogService.DataProtocol.Abstractions;

namespace CRMSimple.LogService.DataCache.Abstractions
{
    public interface IDataCache
    {
        /// <summary>
        /// 接收数据
        /// </summary>
        void Set(DataParam data);
        /// <summary>
        /// 获取数据
        /// </summary>
        void Get(Action<DataParam> action);
    }
}
